package com.fortune.dto.in.mStoreIn;

import com.fortune.common.paging.PagingDto;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

public class MStoreInListDto extends PagingDto{
    @Min(value=0,message="type只能为0或者1")
    @Max(value=1,message="type只能为0或者1")
    @ApiModelProperty(required=true, example="是否已验收（0已验收1未验收)",allowableValues="0,1")
    private int type;
    @ApiModelProperty(required=false, example="搜索条件")
    private String search;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getSearch() {
        return search;
    }

    public void setSearch(String search) {
        this.search = search;
    }

    @Override
    public String toString() {
        return "MStoreInListDto{" +
                "type=" + type +
                ", search=" + search +
                '}';
    }
}
